package com.dykj.fireFighting.server.socialUnit.xfyl.service.impl;

import com.dykj.fireFighting.api.socialUnit.xfyl.entity.EmergencyPlan;
import com.dykj.fireFighting.api.socialUnit.xfyl.service.IEmergencyPlanService;
import com.dykj.fireFighting.common.core.service.impl.BaseServiceImpl;
import com.dykj.fireFighting.server.socialUnit.xfyl.mapper.EmergencyPlanMapper;
import lombok.extern.slf4j.Slf4j;
import org.apache.dubbo.config.annotation.DubboService;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;

/**
 * 应急预案
 *
 * @Author LIJIANJIE
 * @Date  2021-06-23 09:19:46
 */
@Slf4j
@DubboService
@Transactional(rollbackFor = Exception.class)
public class EmergencyPlanServiceImpl extends BaseServiceImpl<EmergencyPlanMapper, EmergencyPlan> implements IEmergencyPlanService {

    @Override
    public List<EmergencyPlan> getList( String unitId){

        return baseMapper.getList(unitId);
    }
}
